import request from '@/utils/request'

// 添加
export function addFineReport(query) {
  return request({
    url: '/base/sMenuFinereport',
    method: 'post',
    data: query
  })
}

// 删除
export function deleteFineReport(id) {
    return request({
      url: '/base/sMenuFinereport/del/'+id,
      method: 'post'
    })
  }

export function deleteFineReports(selectIds) {
    return request({
        url: '/base/sMenuFinereport/del/selectIds',
        method: 'post',
        data: selectIds
    })
}

export function updateFineReport(query) {
    return request({
        url: '/base/sMenuFinereport/update',
        method: 'post',
        data: query
    })
}

// 查询基础费目对应二级费目 服务过程列表
export function getListFineReport(query) {
    return request({
      url: '/base/sMenuFinereport',
      method: 'get',
      params: query
    })
  }